#{extends 'main.html' /}
#{set title:'Invitation Message' /}

<div align = "center">
	You are invited to join the project ${projectName}
	#{if !roleName.equals("")}
	with the role ${roleName}
	#{/if}
	Please accept or reject the invitation. Thank you!<br>

<a href ="@{Users.updateInvitaionStatus(projectId,roleId,userId,true)}"><input type="submit" value="Accept Invitation" /></a>
<a href ="@{Users.updateInvitaionStatus(projectId,roleId,userId,false)}"><input type="submit" value="Reject Invitation" /></a>
</div>